package com.rabbiter.market.service.shoppingcart;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rabbiter.market.common.web.response.JsonResult;
import com.rabbiter.market.domain.shoppingcart.ShoppingCart;
import com.rabbiter.market.qo.shoppingcaet.ShoppingCartQo;
import com.rabbiter.market.vo.goods.GoodsListVo;
import com.rabbiter.market.vo.shoppingcart.ShoppingCartVo;

import java.util.List;

/**
 * @author: longxianghang
 * @date: 2025/3/20 17:32
 * @description:
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    Boolean addGoodsToCart(ShoppingCart shoppingCart, String token);

    List<ShoppingCartVo> getCartList(ShoppingCartQo qo, String token);

    Object updateCartNum(ShoppingCart shoppingCart, String token);

    Boolean deleteCartGoods(List<Long> ids);
}
